<template>
    <h1>我是购物车页面</h1>
</template>

<script setup>
import { useRoute } from 'vue-router'

const route = useRoute()

console.log(route.query)
</script>